27.05.2009, 18:15
From what you've given us...there's no reason why it shouldn't work. Have you forwarded public C4? Are you putting the values of x, y, and z in as floats?
Maybe try something like that?
Код:
forward C4(x, y, z); //at the top of your script if(!strcmp(cmdtext, "/plantc4", true)) { new Float: x, Float: y, Float: z; GetPlayerPos(playerid, x, y, z); SetTimerEx("C4",30000,false,"fff", x, y, z); return 1; } public C4(x, y, z) { CreateExplosion( x, y ,z, type, float:radius); }