SA-MP Forums Archive
LaRp - 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: LaRp (/showthread.php?tid=545902)



LaRp - DangerSta - 11.11.2014

why not working this script
this is dropcar timer adn not working

PHP код:
if(strcmp(cmd"/droptime"true) == 0)
{
    if(
IsPlayerConnected(playerid))
    {
        
format(stringsizeof(string), "** You can Sell car for %d.",pCarTime);
                
SendClientMessage(playeridCOLOR_WHITEstring);
    }
    return 
1;

pls help


Re: LaRp - dominik523 - 11.11.2014

Where are you going to store information about drop time? String? Which one because I can't see that you created any string.


Re: LaRp - DangerSta - 11.11.2014

yes i have droptime
ps show cods


Re: LaRp - dominik523 - 11.11.2014

Create a string before format.