Ja so:
if(strcmp(tmp,"/explode",true)==0)
tmp = strtok(cmdtext, idx);
giveplayerid = strval(tmp);
GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
{
if(IsPlayerConnected(giveplayerid))
{
new Float:x, Float:y, Float:z;
GetPlayerPos(giveplayerid,x,y,z);
CreateExplosion(x,y,z,7,16);
return 1;
}
}
Gibt 3 Errors, wenn ich das giveplayer noch lasse..