Fatal Errors, Mystery to All [HELP]
#6

Try this.
pawn Код:
if (!strcmp("/spawnveh", cmd, true)){
if(!strlen(var1) || !strlen(var2) | | !strlen(var3)){
SendClientMessage (playerid,COLOR_WHITE,"USAGE: /spawnveh [id][color1] [color2]");
} else if(strval(var1) > 399 && strval(var1) < 612){
print "start"
NewVehicle(playerid,strval (var1),playerX,playerY,playerZ,playerAng,strval (var2),strval(var3));
print "end"
} else{
SendClientMessage(playerid,COLOR_WHITE,"Only IDs between 400 and 611 are valid.");
}
 return 1;
}
If it doesnt output "end", Theres something wrong on NewVehicle(...)
Reply


Messages In This Thread
Fatal Errors, Mystery to All [HELP] - by Delphinus - 28.06.2009, 23:59
Re: Fatal Errors, Mystery to All [HELP] - by yezizhu - 29.06.2009, 02:21
Re: Fatal Errors, Mystery to All [HELP] - by Delphinus - 29.06.2009, 17:02
Re: Fatal Errors, Mystery to All [HELP] - by [nl]daplayer - 29.06.2009, 17:07
Re: Fatal Errors, Mystery to All [HELP] - by Delphinus - 29.06.2009, 17:26
Re: Fatal Errors, Mystery to All [HELP] - by yezizhu - 30.06.2009, 00:37
Re: Fatal Errors, Mystery to All [HELP] - by Delphinus - 30.06.2009, 01:25
Re: Fatal Errors, Mystery to All [HELP] - by yezizhu - 30.06.2009, 18:45

Forum Jump:


Users browsing this thread: 2 Guest(s)