23.01.2010, 17:25
what the fuck, this pwn code closes my server (batch)
if(strcmp(cmdtext, "/kill", true) == 0) { // Same deal as before
new Float, Float:y, Float:z;
// Get Player Position
GetPlayerPos(playerid, x, y, z);
// Create an explosion near the vehicle you get into
CreateExplosion(x+random(5), y+random(20), z+random(5), 6, 1000.0);
return 1;
}
if(strcmp(cmdtext, "/kill", true) == 0) { // Same deal as before
new Float, Float:y, Float:z;
// Get Player Position
GetPlayerPos(playerid, x, y, z);
// Create an explosion near the vehicle you get into
CreateExplosion(x+random(5), y+random(20), z+random(5), 6, 1000.0);
return 1;
}