Originally Posted by johnathon956
pickup coords
x:2314.4685058594 y:568.81640625 z:8.5382442474365 |
At The top of your script: new tele; OnGameModeInit tele = CreatePickup(356,2314.4685058594 ,568.81640625 ,8.5382442474365); public OnPlayerPickUpPickup(playerid, pickupid) { if (pickupid == tele) // ... { SetPlayerPos(playerid,2290.9191894531,590.51232910156 ,125.54639434814); } } return 1; }
Originally Posted by [LSR
State_Trooper ]
Код:
At The top of your script: new tele; OnGameModeInit tele = CreatePickup(356,2314.4685058594 ,568.81640625 ,8.5382442474365); public OnPlayerPickUpPickup(playerid, pickupid) { if (pickupid == tele) // ... { SetPlayerPos(playerid,2290.9191894531,590.51232910156 ,125.54639434814); } } return 1; } |
Originally Posted by MaykoX[PSYCHO
]
Код:
new tele; tele = CreatePickup(356, 2, CORDS); public OnPlayerPickUpPickup(playerid, pickupid) { if (pickupid == tele) // ... { SetPlayerPos... } } return 1; } .. |
public OnPlayerPickUpPickup(playerid, pickupid)
{
if (pickupid == tele) // ...
{
SetPlayerPos(playerid,2290.9191894531 ,590.51232910156 ,125.54639434814);
}
}
return 1;
}
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\Untitled.pwn(187) : warning 217: loose indentation C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\Untitled.pwn(188) : warning 217: loose indentation C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\Untitled.pwn(296) : error 010: invalid function or declaration C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\Untitled.pwn(300) : error 010: invalid function or declaration C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\Untitled.pwn(362) : error 029: invalid expression, assumed zero C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\Untitled.pwn(362) : error 029: invalid expression, assumed zero C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\Untitled.pwn(362) : warning 215: expression has no effect C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\Untitled.pwn(362) : error 001: expected token: ";", but found "if" C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\Untitled.pwn(362) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 6 Errors.
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/cmds", true) == 0)
SendClientMessage(playerid, 0xDEEE20FF, "/carmenu to spawn cars");
SendClientMessage(playerid, 0xDEEE20FF, "not done yet");
}
if(strcmp(cmdtext, "/test", true) == 0)
{
SendClientMessage(playerid, 0xDEEE20FF, "hehe you found the test command");
}
return 1;
}
Originally Posted by Donny
You have all messed up the scopes.
|