Ao Digitar no CHAT Crash???
#5

Код:
if(strcmp(cmd, "/getcar", true) == 0)
	 {
	  	if(IsPlayerConnected(playerid))
		{
 			tmp = strtok(cmdtext, idx);
			if(!strlen(tmp))
			{
	 			SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /getcar [carid]");
				return 1;
			}
			new tmpVehID;
			tmpVehID = strval(tmp);
			new Float:X,Float:Y,Float:Z;
			GetPlayerPos(playerid, X,Y,Z);
			new vehid = CreateVehicle(tmpVehID, X,Y,Z, 0.0, 3, 3, 60000);
			PutPlayerInVehicle(playerid, vehid, SeatDriveMod);
		}
		return 1;
	}
Reply


Messages In This Thread
Ao Digitar no CHAT Crash??? - by mafelis - 17.12.2010, 12:52
Re: Ao Digitar no CHAT Crash??? - by Manteiga01 - 17.12.2010, 13:07
Re: Ao Digitar no CHAT Crash??? - by mafelis - 17.12.2010, 13:36
Re: Ao Digitar no CHAT Crash??? - by rjjj - 17.12.2010, 13:40
Re: Ao Digitar no CHAT Crash??? - by mafelis - 17.12.2010, 13:51
Re: Ao Digitar no CHAT Crash??? - by rjjj - 17.12.2010, 13:57
Re: Ao Digitar no CHAT Crash??? - by mafelis - 17.12.2010, 14:14

Forum Jump:


Users browsing this thread: 1 Guest(s)