What's wrong here. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: What's wrong here. (
/showthread.php?tid=639350)
What's wrong here. -
Man43 - 15.08.2017
Im creating a Textdraws for Police but when i go to Checkpoint i didn't got anything why?? There are no Errors/ Warrings
Код:
if(checkpointid == Police)
{
if(GetPlayerSkin(playerid) == 280 || 281 || 282 || 285 || 287)
{
TextDrawShowForPlayer(playerid, Textdraw11);
TextDrawShowForPlayer(playerid, Textdraw12);
TextDrawShowForPlayer(playerid, Textdraw13);
TextDrawShowForPlayer(playerid, Textdraw14);
TextDrawShowForPlayer(playerid, Textdraw15);
TextDrawShowForPlayer(playerid, Textdraw16);
TextDrawShowForPlayer(playerid, Textdraw17);
TextDrawShowForPlayer(playerid, Textdraw18);
TextDrawShowForPlayer(playerid, Textdraw19);
TextDrawShowForPlayer(playerid, Textdraw20);
TextDrawShowForPlayer(playerid, Textdraw21);
SendClientMessage(playerid, COLOR_RED, "You are not Police");
}
}
return 1;
}
Re: What's wrong here. -
Man43 - 15.08.2017
heeelp
Re: What's wrong here. -
Hansrutger - 15.08.2017
What is wrong in this scenario is that your patience is shorter than Tyrion from game of thrones. Not even 10 minutes holy crap.
Re: What's wrong here. -
Man43 - 15.08.2017
Sorry Fixed.
Re: What's wrong here. -
Cashew - 16.08.2017
What are you hoping to achieve with the code you've posted? I'm not being rude, just curious, so that I know how to help.
You are telling the server that if a player enters a 'Police' checkpoint, with a police skin, it is to show 11 textdraws and also send a message to the player saying 'You are not Police'?