Quote:
Originally Posted by Konstantinos
It's just a message, no need format and get the vehicle id.
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[]) { if(!strcmp("/infernus", cmdtext, true)) { new Float:x, Float:y, Float:z, Float:a, Infernus; GetPlayerPos(playerid,x,y,z); GetPlayerFacingAngle(playerid, a); Infernus = CreateVehicle(411, x, y, z, a, -1, -1, 60); PutPlayerInVehicle(playerid, Infernus, 0); SendClientMessage(playerid,0xDAA520FF,"You have been teleported \"infernus\" to your place"); return 1; } return 0; }
|
Thank's, im just wanted to know how to use this string
but i will find some good tutorial really, thank's
GoodNight