Help pleasE?
#1

Код:
C:\Users\dad\Desktop\PR-RP\gamemodes\PR-RP.pwn(14513) : error 017: undefined symbol "cmd"
C:\Users\dad\Desktop\PR-RP\gamemodes\PR-RP.pwn(14514) : warning 202: number of arguments does not match definition
C:\Users\dad\Desktop\PR-RP\gamemodes\PR-RP.pwn(14519) : warning 202: number of arguments does not match definition
C:\Users\dad\Desktop\PR-RP\gamemodes\PR-RP.pwn(14523) : warning 217: loose indentation
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase
Help please?

This is the thing here.

Код:
if(strcmp(cmd, "/enter", true) == 0)
			if(IsPlayerInRangeOfPoint(playerid, 6,  21,223.1871,  97.6708,  1003.9141))// // put your own cords here
	{
               SetPlayerInterior(playerid, 10);//here aswell, or Set interror here
               TogglePlayerControllable(playerid, 0);

               SetTimer("unfreeze" , false);
               return 1;
	}

	if(GetPVarInt(playerid, "RegistrationStep") >= 5)
Reply
#2

Quote:
Originally Posted by getty154
Посмотреть сообщение
Код:
C:\Users\dad\Desktop\PR-RP\gamemodes\PR-RP.pwn(14513) : error 017: undefined symbol "cmd"
C:\Users\dad\Desktop\PR-RP\gamemodes\PR-RP.pwn(14514) : warning 202: number of arguments does not match definition
C:\Users\dad\Desktop\PR-RP\gamemodes\PR-RP.pwn(14519) : warning 202: number of arguments does not match definition
C:\Users\dad\Desktop\PR-RP\gamemodes\PR-RP.pwn(14523) : warning 217: loose indentation
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase
Help please?

This is the thing here.

Код:
if(strcmp(cmd, "/enter", true) == 0)
			if(IsPlayerInRangeOfPoint(playerid, 6,  21,223.1871,  97.6708,  1003.9141))// // put your own cords here
	{
               SetPlayerInterior(playerid, 10);//here aswell, or Set interror here
               TogglePlayerControllable(playerid, 0);

               SetTimer("unfreeze" , false);
               return 1;
	}

	if(GetPVarInt(playerid, "RegistrationStep") >= 5)
where did you put the command?
Reply
#3

Quote:
Originally Posted by fangoth1
Посмотреть сообщение
where did you put the command?
Under Onplayercommandtext.
Reply
#4

show the code
Reply
#5

pawn Код:
if(strcmp(cmd, "/enter", true) == 0)
      {
               if(IsPlayerInRangeOfPoint(playerid, 6,  21,223.1871,  97.6708,  1003.9141))// // put your own cords here

               SetPlayerInterior(playerid, 10);//here aswell, or Set interror here
               TogglePlayerControllable(playerid, 0);

               SetTimer("unfreeze" 5000, false);
               return 1;
    }
that is the right code aswell
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)