06.01.2017, 17:20
Hello, When i typing /robcasino at CP Server Restart Why?
Код:
CMD:robcasino(playerid, params[]) { if(!IsPlayerInDynamicCP(playerid, CP_robdrag)) return SendClientMessage(playerid, COLOR_RED,"[ERROR]: You must be in checkpoint Four Dragon Casino"); { if(Dragonrobbedrecently >=1) { SendClientMessage(playerid, COLOR_RED, "[PICKUP] Go Pickup the objects you have 30 Secdons"); SetPlayerWantedLevel(playerid, GetPlayerWantedLevel(playerid) + 5); GameTextForPlayer(playerid, "DO NOT LEAVE CHECKPOINT", 500, 1); SetTimer("DragonRobbery", 60000, false); DragonObjects[1] = CreatePickup(1212, 18, 1962.3412,1009.9411,992.4688,-1); DragonObjects[2] = CreatePickup(1212, 18, 1958.0300,1010.0934,992.4688,-1); DragonObjects[3] = CreatePickup(1212, 18, 1958.7378,1015.8269,992.4688,-1); DragonObjects[4] = CreatePickup(1212, 18, 1958.7378,1020.2450,992.4688,-1); DragonObjects[5] = CreatePickup(1212, 18, 1958.0302,1025.4569,992.4688,-1); DragonObjects[6] = CreatePickup(1212, 18, 1962.3405,1025.6857,992.4688,-1); DragonObjects[7] = CreatePickup(1212, 18, 1963.9730,1020.3441,992.4688,-1); DragonObjects[8] = CreatePickup(1212, 18, 1963.9764,1015.7001,992.4688,-1); } ROBBING_Dragon[playerid] = 15; Dragonrobbedrecently = 200; } return 1; }