03.02.2019, 20:54
Quote:
|
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;
}
|
Код:
CMD:startfw(playerid, params[])
{
if( (LoggedIn[playerid]) &&
(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;


