HELP with Checkpoint???
#1

how to make checkpoint which is visible for all . i was make this :
Код:
if(strcmp(cmdtext,"/garageopen",true)== 0)
{
SetPlayerCheckpoint(playerid, 987.3894,2233.1641,11.0906, 5.0);

return 1;
}
but this is visible only for player who tpye /garageopen ,, i want make command when im type /garageopen ,, that all players see checkpoint on the map ..
sorry for poor english , please help ?
Reply
#2

pawn Код:
if(strcmp(cmdtext,"/garageopen",true)== 0)
{
    for(new i; i<MAX_PLAYERS; i++)
        SetPlayerCheckpoint(i, 987.3894,2233.1641,11.0906, 5.0);
       
    return 1;
}
Reply
#3

that doesnt work ,, lemme show you full command :
Код:
 if(strcmp(cmdtext,"/garageopen",true)== 0)
          {
           new string[128];
           new movetime = MoveObject(garage1, 992.09000000,2220.07000000,8.21000000,1.00000000);
	format(string, sizeof(string), "Object will finish moving in %d milliseconds", movetime);
	SendClientMessageToAll(COLOR_YELLOW,"CAR SHOP IS OPENED.");
	for(new i; i<MAX_PLAYERS; i++)
           SetPlayerCheckpoint(playerid, 987.3894,2233.1641,11.0906, 5.0);
	return 1;
	}
help ?
Reply
#4

Well if you change it it surely won't work.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)