Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <sourcemod>
- #include <sdktools>
- #include <cstrike>
- public OnPluginStart() {
- HookEvent("player_spawn", PlayerSpawn);
- }
- public Action:PlayerSpawn(Handle:event, const String:name[], bool:dontBroadcast) {
- new index = GetClientOfUserId(GetEventInt(event, "userid"));
- new userid = GetEventInt(event, "userid");
- new Float:player_pos[3];
- GetClientAbsOrigin(index, player_pos);
- ServerCommand("es_toptext %i 1 #pink Effect By:Rioux." ,userid);
- player_pos[2] = player_pos[2] + 20;
- ServerCommand("est_effect 10 #a 0 sprites/smoke.vmt %f %f %f 20 500 3 100 100 0 102 255 0 255 200", player_pos[0], player_pos[1], player_pos[2]);
- //x = player_pos[0]
- //y = player_pos[1]
- //z = player_pos[2]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement