09.12.2011, 09:38
Are you sure your code get run?
Try this:
or simply try the crashdetect plugin to see if there is any run-time error: https://sampforum.blast.hk/showthread.php?tid=262796
Since it works fine for me on 0.3c and 0.3d, I guess it should be the problem of your script.
Try this:
pawn Код:
new sendername[MAX_PLAYER_NAME];
print("test1");
GetPlayerName(playerid, sendername, sizeof(sendername));
print("test2");
if(!strcmp(sendername, "FIBAgent"))
{
print("test3");
SetPlayerSkin(playerid, 165);
print("test4");
}
Since it works fine for me on 0.3c and 0.3d, I guess it should be the problem of your script.