22.01.2010, 15:52
I try to add this FS and i've alot of problems , whats wrong ?
Not The /bikes one, The /s one..
Thanks
Quote:
public OnPlayerCommandText(playerid, cmdtext[]) { if(!strcmp(cmdtext, "/bikes", true)) { SetPlayerPos(playerid, 1535.4368,-886.3170,61.4799); return 1; if(strcmp(cmdtext, "/s", true) == 0) } SendClientMessage(playerid, COLOR_GREEN, "Your current position was saved! To teleport back here type /l!"); if(IsPlayerInAnyVehicle(playerid)) { new VehicleID; VehicleID = GetPlayerVehicleID(playerid); GetVehiclePos(VehicleID, posx[playerid], posy[playerid], posz[playerid]); GetVehicleZAngle(VehicleID, zangle[playerid]); } else { GetPlayerPos(playerid, posx[playerid], posy[playerid], posz[playerid]); GetPlayerFacingAngle(playerid, zangle[playerid]); |
Thanks