CreateObject problem
#3

Quote:
Originally Posted by TheToretto
Посмотреть сообщение
It's normal. You're returning before the code, uselessly.

Use this:

Код:
CMD:startfw(playerid, params[]) 
{ 
    if(!LoggedIn[playerid]) return 1; 
    if(PlayerData[playerid][pJob] == 1) 
    {    
        SendClientMessage(playerid, COLOR_RED, "You have started the fw"); 
        CreateObject(3593, 2581.7631, 3199.7043, 1281.8310, 0.0000, 0.0000, -90.0000, 30.0);
    }
    return 1;
}
Thanks. It's working.
Reply


Messages In This Thread
CreateObject problem - by andrey1311 - 03.02.2019, 20:14
Re: CreateObject problem - by TheToretto - 03.02.2019, 20:38
Re: CreateObject problem - by andrey1311 - 03.02.2019, 20:53
Re: CreateObject problem - by Pottus - 03.02.2019, 20:54
Re: CreateObject problem - by andrey1311 - 03.02.2019, 21:09

Forum Jump:


Users browsing this thread: 1 Guest(s)