is there any way to merga all skins in one ?
#1

i am working on freeroam server, so i want all skins to be merged in one line means:

AddPlayerClass(0 .. 311,410.6863,2532.9053,19.1484,142.4334,0,0,0,0,0,0); // playerspawn

i mean any way like this so i can have all skins on the spawn selection place?
Reply
#2

use loop
PHP код:
for(new 0312i++)
{
    
AddPlayerClass(i,410.6863,2532.9053,19.1484,142.4334,0,0,0,0,0,0); // playerspawn

Reply
#3

where to put this?
Reply
#4

Quote:
Originally Posted by StevenLV
Посмотреть сообщение
where to put this?
under ongamemodeinit, .-. the same area you put the old AddPlayerClass
Reply
#5

thnx alot <333333
Reply
#6

i wanted to ask, do u know how to set that if i /stunt so it say "usage: /stunt <1/2>"
Reply
#7

You may use sscanf or directly params.
PHP код:
CMD:stunt(playeridparams[])
{
    if(
isnull(params))
    {
        
SendClientMessage(playerid, -1,"Usage: /stunt <1/2>");
    }
    else
    {
        if(
params[0] == '1')
        {
            
// /stunt 1 used
        
}
        else if(
params[0] == '2')
        {
            
// /stunt 2 used
        
}
        else 
        {
            
// error message
        
}
    }
    return 
1;

Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)