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



little help - Puff - 23.09.2017

PHP код:
    UnlockCar(carid);
        new 
msg[128];
        new 
string[128];
        new 
statusString[90];
        new 
newcar GetPlayerVehicleID(playerid);
        new 
newmodel GetVehicleModel(newcar);
        
format(statusStringsizeof(statusString), "~g~%s UNLOCKED"VehiclesName[newmodel-400]);
        
//ProxMessage(10.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
        //SendClientMessage(playerid, X11_WHITE, msg);
    
} else {
        
SendClientMessage(playeridX11_WHITE"USAGE: /unlock [carindex]");
    }
    return 
1;

I can't see the UNLOCKED and LOCKED on the screen... idk whats wrong..


Re: little help - GoldenLion - 23.09.2017

Well, you can't see something that you are not showing.
https://sampwiki.blast.hk/wiki/Function:GameTextForPlayer